﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Threading.Tasks;

namespace ACGN.MVC.Models.Productss
{
    public class ProductViewModel
    {
        public int PId { get; set; }
        [Required]
        [Display(Name ="名称")]
        public string PName { get; set; }
        [Required]
        [Display(Name ="标签")]
        public string Label { get; set; }
        [Required]
        [Display(Name ="作者")]
        public string Author { get; set; }
        [Required]
        [Display(Name ="简介")]
        public string PIntroduce { get; set; }
        [Required]
        [Display(Name ="发布时间")]
        public DateTime CreateTime { get; set; }
        [Required]
        [Display(Name ="产品类型")]
        public int ProTypeId { get; set; }
        public string TName { get; set; }
    }
}
